package com.gxa.mapper;

import com.gxa.param.NoticeParam;
import com.gxa.param.TableParam;
import com.gxa.pojo.Notice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NoticeMapper {
    List<Notice> findAll(@Param("param") NoticeParam param);

    Notice findByPK(@Param("notice_id") Integer noticeId);

    //添加
    void save(@Param("notice") Notice notice);

    void deleteAll(@Param("ids") String []ids);

    void update(@Param("notice") Notice notice);

    void deleteid(@Param("notice_id") Integer noticeId);
}
